package com.epfuse.cloud.common.redis.serializer;


import com.epfuse.cloud.common.redis.serializer.enums.SerializerType;
import lombok.Getter;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * 增加默认值为jdk
 *
 * @Author 孙峰
 */

@Getter
@ConfigurationProperties(prefix = RedisSerializerProperties.REDIS_PREFIX)
public class RedisSerializerProperties {


    public static final String REDIS_PREFIX = "redis";
    /**
     * 序列化方式 目前支持 jdk、hessian、jackson
     */
    private SerializerType serializer;

    public void setSerializer(SerializerType serializer) {
        this.serializer = serializer;
    }





}
